package response

import (
	uuid "github.com/satori/go.uuid"
	"time"
)

type TalkList struct {
	ID          uint64    `json:"id"`
	UUID        uuid.UUID `json:"uuid"`
	ClientIp    string    `json:"client_ip"`
	Province    string    `json:"province"`
	City        string    `json:"city"`
	Online      uint8     `json:"online"`
	Status      uint8     `json:"status"`
	ChannelId   string    `json:"channel_id"`
	Msg         string    `json:"msg"`
	UnreadCount int64     `json:"unread_count"`
}

type UnreadMsg struct {
	Count int64 `json:"count"`
}

type TrailList struct {
	CreatedAt time.Time `json:"created_at"`
	Nickname  string    `json:"nickname"`
	Avatar    string    `json:"avatar"`
	Status    uint8     `json:"status"`
	ChannelId string    `json:"channel_id"`
}
